-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bring CDEPS inline capability to CMEPS #2028
Bring CDEPS inline capability to CMEPS #2028
Conversation
@uturuncoglu We're adding a Commit Message requirement to the PRs. Please add one in the space provided. |
@BinLiu-NOAA @DeniseWorthen @junwang-noaa @jedwards4b I made couple of changes in the CMEPS side to allow filling exchange fields with all data in the first coupling time step and it seems working fine. I introduce set of new mediator namelist option to make it configurable. So, for example I am setting following in the nems.configure for ocean and wave,
By default the values are .false. and it is only usable when CDEPS Inline feature activated. I also modify the wave and ocean prep phases to get the data and pass it to the components. I pushed all to CMEPS fork. What is next;
Anyway, I think we are very close to finalize the development and make PR's ready for review. I'll update you when it is ready. |
@BinLiu-NOAA @DeniseWorthen @junwang-noaa I think logic in the In this case, it will always read its own data file rather then provided one from mediator since As I see from the code, the logic is fine for the second time step since the mask will be set to all 1.0 (there won't be any value in import field greater or equal than fill value since it is already filled in mediator side) and it will use the mediator provided completed field. So, it would be fine to set |
@BinLiu-NOAA Maybe I am missing something in here but it seems that I also checked the HYCOM code and it seems that Based on my finding, it would be also fine to set It seems that if mediator handles the unmapped region, HYCOM will be fine with it and runs without any issue since merge is based on checking Anyway, I tested the configuration by setting |
@DeniseWorthen @BinLiu-NOAA @junwang-noaa I run full RT suite on Orion and I have some tests failed but they seems failed due to some issue in mediator aoflux calculation. At this point, my CMEPS fork is based on ESCOMP and it seems the NOAA-EMC fork is 1 commit ahead and 512 commits behind of ESCOMP/CMEPS:main. So, this might trigger issue. I am not sure what is the best way to bring this in. We could merge this with ESCOMP and then we could update CMEPS in NOAA-EMC fork and push changes related with the mediator CCPP host model (clm lake related) to ESCOMP. But I am not sure this solves the failed tests. Maybe we could try to run tests by syncing NOAA CMEPS fork with ESCOMP without any modification related to CDEPS Inline to see what happens. Anyway, let me know what you think? Additionally, my CDEPS fork is based on NOAA-EMC and as I know you did not push extra data modes to ESCOMP yet. Maybe I could create another fork that has only work related with source and destination masks to merge with ESCOMP CDEPS and then you could sync NOAA-EMC fork with the ESCOMP. |
@uturuncoglu The commit history I cannot explain but the code itself can be compared and there are only a few differences related to some recent changes for gusts at ESCOMP. Where are your orion runs? I can take a look. |
@DeniseWorthen My HAFS related run directory is in |
@uturuncoglu I want to be sure which CMEPS branch you're using. The UWM PR shows feature/cdeps_inline but that branch seems to have been last updated 2 months ago whereas branch feature/inline is only 4days old. |
@DeniseWorthen I am using |
@uturuncoglu I merged the current escomp/main into emc/develop and I got the same error shown in your datm_cdeps_control test
I suspect this is related to the new gust parameterization added for CESM. |
@uturuncoglu I made these changes after merging ESCOMP/main and the datm test now runs. You can see my code at
|
@DeniseWorthen That is great. Thanks for your help. Let me test in my side too. Do you want me to add this fix to the PR. I am not sure how urgent to have this fix in UFS side. |
@uturuncoglu @binli2337 can you update cmeps feature branch hash: uturuncoglu/CMEPS@c9c4c23? |
@BinLiu-NOAA you are quick! thanks! |
@jkbk2004 @BrianCurtis-NOAA @uturuncoglu @DeniseWorthen @binli2337 Unfortunately, in this case, we will need to recreate/update the two HAFS new RTs baseline, and then rerun the full RTs against the baseline. Much appreciated for all your help and patience to deal with this critical PR development needed for HAFSv2 code freeze. |
Acorn was almost done before they cut the connection on me for maintenance. With the fact that WCOSS2 finished and Acorn had 0 failed tests minus the one that was finishing, Acorn can be "skipped" for this 2nd round of testing. |
Derecho is not available today. @zach1221 @FernandoAndrade-NOAA Can you pick up from here? I think we are good to go. |
CMEPS is merged (624920d); CDEPS was merged previously (3d7067a) |
Thanks! Both CMEPS and CDEPS submodules should be up to date now. Much appreciated for the speedy RT processing after the bug fixes! Thanks! |
PR Author Checklist:
Description
This PR aims to bring CDEPS inline capability to CMEPS to support regional configurations like HAFS. The more information related to the implementation can be found in the following presentation: https://docs.google.com/presentation/d/1Tk76zlsRiT7_KMJiZsEJHNvlHciZJJBBhsJurRMxVy4/edit#slide=id.g2631444dbf7_0_5
Commit Message
Developed and enabled using CMEPS with inline CDEPS capability for UFS regional coupling.
Two HAFS regional moving nest atm_ocn_wav coupling regression tests were added to test this capability.
Note: This is a collaborative effort among the ESMF team, EMC/EIB, and EMC hurricane project team.
Linked Issues and Pull Requests
Associated UFSWM Issue to close
Subcomponent Pull Requests
Blocking Dependencies
Subcomponents involved:
Anticipated Changes
Input data
Two new subdirs (MOM6_regional_input_data and CDEPS_input_data) were added inside the FV3_hafs_input_data dir. Adding these two subdirs will not affect any existing RTs. They are only used for the newly added two RTs in this PR.
With that, please help to copy over the following dirs:
/scratch1/NCEPDEV/stmp4/Bin.Liu/hafs/NEMSfv3gfs/input-data-20221101/FV3_hafs_input_data/MOM6_regional_input_data
/scratch1/NCEPDEV/stmp4/Bin.Liu/hafs/NEMSfv3gfs/input-data-20221101/FV3_hafs_input_data/CDEPS_input_data
inside the existing NEMSfv3gfs/input-data-20221101/FV3_hafs_input_data/, and then populate them to all supported platforms. Again, no need to change the input-data-20221101 version. Thanks!
Regression Tests:
Tests effected by changes in this PR:
The following two new RTs were added for HAFS regional moving nest coupling through CMEPS with inline CDEPS: hafs_regional_storm_following_1nest_atm_ocn_wav_inline and hafs_regional_storm_following_1nest_atm_ocn_wav_mom6Libraries
Code Managers Log
Testing Log:
This is initially tested under UFS Weather Model and did not change the answer for existing HAFS RTs and
cpld_control_p8
cases. More test will be performed with both UFS Weather model. The PR is also tested on NCAR's CESM model and does not change the answers and able to run the existing configurations.